package ooday03.Animal01;

public class Dog extends Animal implements Swim{

    Dog (String name ,int age ,String color){
        super(name, age, color);

    }

    @Override
    void eat() {
        System.out.println(name+"正在吃骨头");
    }

    @Override
    public void swim() {
        System.out.println(name +"会游泳");
    }
}
